{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>基本信息</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form class="form-horizontal" name="userAdd" id="add_article" enctype="multipart/form-data">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">头像</label>
                            <div class="input-group col-sm-5">
                                <input type="hidden" id="data_photo" name="images" >
                                <img id="img_data" height="100px" src="{$res.user_image}" style="float:left;margin-left: 50px;margin-top: -10px;cursor:pointer;" src="" onclick='imgDisplay(this)'/>
                                <div id="fileList" class="uploader-list" style="float:right"></div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户账号</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="{$res.user_phone?$res.user_phone:''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户昵称</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="{$res.user_username?$res.user_username:''}">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">所在城市</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="{$res.address?$res.address:''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">账户余额</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="{$res.user_all_money?$res.user_all_money:''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">周排名</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="第{$res.pm_week?$res.pm_week:''}名">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">月排名</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="第{$res.pm_month?$res.pm_month:''}名">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">性别</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="{$res.sex?$res.sex:''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">个性签名</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="{$res.user_sign?$res.user_sign:''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">生日</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="{$res.user_birthday?$res.user_birthday:''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">认证状态</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="{$res.face?$res.face:''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">微信</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="{$res.wx_status?$res.wx_status:''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">QQ</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="{$res.qq_status?$res.qq_status:''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">支付宝</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="{$res.zfb_status?$res.zfb_status:''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">微博</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="{$res.wb_status?$res.wb_status:''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">注册时间</label>
                            <div class="input-group col-sm-4">
                                <input disabled type="text" class="form-control" value="{$res.user_time?$res.user_time:''}">
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-3">
                                <a class="btn btn-danger" href="javascript:history.go(-1);"><i class="fa fa-close"></i> 返回</a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>

        </div>
    </div>
</div>
{include file="public/footer" /}
<script type="text/javascript" src="__JS__/Crop.js"></script>
<script type="text/javascript">

    //图片灯箱
    function imgDisplay(obj) {
        var src = $(obj).attr("src");
        var imgHtml = '<div class="showP"><img src=' + src + ' style="margin-top: 30px;height:90%;margin-bottom: 50px;"  /><p class="closeP"  onclick="closePicture(this)"><span class="cha">×</span></p></div>'
        $('body').append(imgHtml);
    }
</script>
</body>
</html>